package com.gxa.learning.core.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * 类型与等级表映射的VO实体
 *
 * @author lijianmin
 * @date 2021/12/02  16:43:37
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
// @Table(name = "TypeLevelManagerVO")
public class TypeLevelManagerVO implements Serializable {
    /**
     * 等级管理编号
     */
    @Column(name = "id")
    @ApiModelProperty(name = "id", value = "id", dataType = "Long", example = "等级管理编号")
    private Long id;

    /**
     * 类别名称   例如: 人力资源、Java开发等等....
     */
    @Column(name = "typename")
    @ApiModelProperty(name = "name", value = "name", dataType = "String", example = "类别名称")
    private String typeName;

    /**
     * 类别等级
     */
    @Column(name = "level")
    @ApiModelProperty(name = "level", value = "level", dataType = "String", example = "类别等级")
    private String level;

    /**
     * 类别状态  0为无效,  1为有效
     */
    @Column(name = "state")
    @ApiModelProperty(name = "state", value = "state", dataType = "Integer", example = "类别状态(0为无效,  1为有效)")
    private Integer state;

    /**
     * 上传人(用户编号) 连接查询用户表
     */
    @Column(name = "username")
    @ApiModelProperty(name = "username", value = "username", dataType = "String", example = "上传人姓名")
    private String username;

    @Column(name = "typeId")
    @ApiModelProperty(name = "typeId", value = "typeId", dataType = "Long", example = "类别的编号")
    private Long typeId;

}
